package com.ruoyi.community.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 社区对象 house_community_t
 * 
 * @author ruoyi
 * @date 2023-04-20
 */
public class HouseCommunityT extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 社区id */
    private Long communityId;

    /** 街道办事处id */
    private Long streetId;

    /** 街道办事处名称 */
    @Excel(name = "用途名称")
    private String streetName;

    /** 社区名称 */
    @Excel(name = "社区名称")
    private String communityName;

    /** 社区地址 */
    @Excel(name = "社区地址")
    private String communityAddr;

    /** 负责人电话 */
    @Excel(name = "负责人电话")
    private String communityTel;

    /** 负责人 */
    @Excel(name = "负责人")
    private String communityer;

    /** 创建者 */
    @Excel(name = "创建者")
    private String creater;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }
    public void setStreetId(Long streetId) 
    {
        this.streetId = streetId;
    }

    public Long getStreetId() 
    {
        return streetId;
    }
    public void setCommunityName(String communityName) 
    {
        this.communityName = communityName;
    }

    public String getCommunityName() 
    {
        return communityName;
    }
    public void setCommunityAddr(String communityAddr) 
    {
        this.communityAddr = communityAddr;
    }

    public String getCommunityAddr() 
    {
        return communityAddr;
    }
    public void setCommunityTel(String communityTel) 
    {
        this.communityTel = communityTel;
    }

    public String getCommunityTel() 
    {
        return communityTel;
    }
    public void setCommunityer(String communityer) 
    {
        this.communityer = communityer;
    }

    public String getCommunityer() 
    {
        return communityer;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    public String getStreetName() {
        return streetName;
    }

    public void setStreet(String streetName) {
        this.streetName = streetName;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("communityId", getCommunityId())
            .append("streetId", getStreetId())
            .append("communityName", getCommunityName())
            .append("streetName",getStreetName())
            .append("communityAddr", getCommunityAddr())
            .append("communityTel", getCommunityTel())
            .append("communityer", getCommunityer())
            .append("remark", getRemark())
            .append("creater", getCreater())
            .append("createDate", getCreateDate())
            .toString();
    }

}
